﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace IronBrokers.InformationBroker.Model
{
    public class TreeNode
    {
        #region Public properties
        public List<TreeNode> Children { get; set; }
        public TreeNode Parent { get; set; }
        public TreeNodeType NodeType { get; set; }
        public String Name { get; set; } 
        #endregion

        #region Constructors
        public TreeNode()
        {
        }

        public TreeNode(String name, TreeNodeType nodeType)
        {
            this.Name = name;
            this.NodeType = nodeType;
        } 
        #endregion
    }
}
